package com.macro.mall.dao.ums;


import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.ums.UmsRoleResourceRelationDO;
import com.macro.mall.model.ums.UmsRoleResourceRelationQuery;
import org.apache.ibatis.annotations.Param;

public interface UmsRoleResourceRelationMapper  extends BaseMapper<UmsRoleResourceRelationDO> {
    long countByExample(UmsRoleResourceRelationQuery example);

    int deleteByExample(UmsRoleResourceRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(UmsRoleResourceRelationDO record);

    int insertSelective(UmsRoleResourceRelationDO record);

    List<UmsRoleResourceRelationDO> selectByExample(UmsRoleResourceRelationQuery example);

    UmsRoleResourceRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UmsRoleResourceRelationDO record, @Param("example") UmsRoleResourceRelationQuery example);

    int updateByExample(@Param("record") UmsRoleResourceRelationDO record, @Param("example") UmsRoleResourceRelationQuery example);

    int updateByPrimaryKeySelective(UmsRoleResourceRelationDO record);

    int updateByPrimaryKey(UmsRoleResourceRelationDO record);
}
